<template>
  <div>
    <router-view />
    <van-tabbar v-model="active">
      <van-tabbar-item to="/home/substitute"
                       icon="shop-o">代课</van-tabbar-item>
      <van-tabbar-item to="/home/publish"
                       icon="search">发布</van-tabbar-item>
      <van-tabbar-item to="/home/course"
                       icon="cart-o">课程</van-tabbar-item>
      <van-tabbar-item to="/home/mine"
                       icon="orders-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
import defaultHeader from '@/assets/daike.png'
export default {
  data () {
    return {
      active: 3,
      defaultHeader
    }
  },
  methods: {

  }
}
</script>

<style lang="sass">
.defaultImg
  width: 60px
  height: 60px
  border-radius: 50%
  margin: 8px 40px
</style>
